package com.swpu.service_food.service.impl;

import com.swpu.service_food.entity.FoodCategory;
import com.swpu.service_food.mapper.FoodCategoryMapper;
import com.swpu.service_food.service.FoodCategoryService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author chaichai
 * @since 2024-01-26
 */
@Service
public class FoodCategoryServiceImpl extends ServiceImpl<FoodCategoryMapper, FoodCategory> implements FoodCategoryService {

    public List<FoodCategory> getAllFoodCategory(){
      return   baseMapper.getAllCategory();
    }
}
